/**
 * @Description TODO
 * @Classname Student
 * @Date 2023/4/20
 * @Author sh
 **/
public class MyNode {

    public MyNode prev;
    public MyNode next;
    public Thread thread;

    public void setThread(Thread thread) {
        this.thread = thread;
    }

    public Thread getThread() {
        return thread;
    }

    public void setNext(MyNode next) {
        this.next = next;
    }

    public MyNode getNext() {
        return next;
    }

    public void setPrev(MyNode prev) {
        this.prev = prev;
    }

    public MyNode getPrev() {
        return prev;
    }

    public MyNode() {
    }

    public MyNode(MyNode prev, MyNode next, Thread thread) {
        this.prev = prev;
        this.next = next;
        this.thread = thread;
    }

}
